Nevron .NET Vision
Nevron.Chart Namespace / NGridSurfaceData Class / InitFromTriangles Method / InitFromTriangles(ICollection<NTriangle>,TriangleRasterizationMode,Int32,Int32,Int32,Int32,NRectangleD) Method


In This Topic
    InitFromTriangles(ICollection<NTriangle>,TriangleRasterizationMode,Int32,Int32,Int32,Int32,NRectangleD) Method
    In This Topic
    Inits the grid surface data from a set of triangles each having three vertices with associated
    Syntax
    'Declaration
     
    
    Public Overloads Sub InitFromTriangles( _
       ByVal triangles As System.Collections.Generic.ICollection(Of NTriangle), _
       ByVal rasterizationMode As TriangleRasterizationMode, _
       ByVal gridSizeX As System.Integer, _
       ByVal gridSizeY As System.Integer, _
       ByVal xResolution As System.Integer, _
       ByVal yResolution As System.Integer, _
       ByRef gridBounds As NRectangleD _
    ) 
    'Usage
     
    
    Dim instance As NGridSurfaceData
    Dim triangles As System.Collections.Generic.ICollection(Of NTriangle)
    Dim rasterizationMode As TriangleRasterizationMode
    Dim gridSizeX As System.Integer
    Dim gridSizeY As System.Integer
    Dim xResolution As System.Integer
    Dim yResolution As System.Integer
    Dim gridBounds As NRectangleD
     
    instance.InitFromTriangles(triangles, rasterizationMode, gridSizeX, gridSizeY, xResolution, yResolution, gridBounds)
    public void InitFromTriangles( 
       System.Collections.Generic.ICollection<NTriangle> triangles,
       TriangleRasterizationMode rasterizationMode,
       System.int gridSizeX,
       System.int gridSizeY,
       System.int xResolution,
       System.int yResolution,
       out NRectangleD gridBounds
    )

    Parameters

    triangles
    rasterizationMode
    gridSizeX
    gridSizeY
    xResolution
    yResolution
    gridBounds
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also